package santeclair.connexion.bean;

import santeclair.connexion.bean.trame.aller.identification.DemandeIdentification;

public class Identification {

    private final String aliasPartenaire;
    private final DemandeIdentification demandeIdentification;
    private final String trame;

    private Identification(String aliasPartenaire, DemandeIdentification demandeIdentification, String trame) {
        this.aliasPartenaire = aliasPartenaire;
        this.demandeIdentification = demandeIdentification;
        this.trame = trame;
    }

    public Identification(String aliasPartenaire, DemandeIdentification demandeIdentification) {
        this(aliasPartenaire, demandeIdentification, null);
    }

    public String getAliasPartenaire() {
        return aliasPartenaire;
    }

    public DemandeIdentification getDemandeIdentification() {
        return demandeIdentification;
    }

    public String getTrame() {
        return trame;
    }

}
